package com.why.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @program: whyrpcframework
 * @description:
 * @author: @why
 * @create: 2021-03-11 19:01
 **/
@AllArgsConstructor

@Getter
public enum PackageType {

    /**
     * 使用1个字节来标明当前是请求还是响应
     */
    REQUEST_PACK( 0),
    RESPONSE_PACK( 1);
    private final int code;



}
